<template>
  <div class="layout">
    <el-container style="width:100%;height: 100%;">

      <el-aside width="180px" style="height: 100%;background-color:white;box-shadow: 2px 0 3px rgba(0, 0, 0, 0.1);" >

        <el-menu
            active-text-color="#409EFF"
            background-color="white"
            class="el-menu-vertical-demo"
            :default-active="this.$route.path"
            text-color="#548af7"
            style="height: 100%"
            router >

          <el-menu-item index="/main/uniPermission/manage">
            <el-icon><Edit /></el-icon>
            <span>权限管理</span>
          </el-menu-item>
<!--          <el-menu-item index="/main/store/home/edit">
            <el-icon><Edit /></el-icon>
            <span>信息管理</span>
          </el-menu-item>-->
        </el-menu>

      </el-aside>

      <el-main>

        <router-view name="view"></router-view>

      </el-main>

    </el-container>
  </div>
</template>

<script>
import router from '@/router';
import {Edit} from "@element-plus/icons-vue";
export default {
  components: {Edit}

}

</script>

<style>
.layout {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 60px;
  left: 0;
  background: transparent;
}

.el-menu-item-group {
  background-color: white;
}
</style>